Skip to content

Implement pitch detection in tuner frequency method#5302

Open
7se7en72025 wants to merge 1 commit intosugarlabs:masterfrom
7se7en72025:tough-pitch-fix
Open

Implement pitch detection in tuner frequency method#5302
7se7en72025 wants to merge 1 commit intosugarlabs:masterfrom
7se7en72025:tough-pitch-fix

Conversation

@7se7en72025
Copy link
Contributor

Replaces the placeholder in getTunerFrequency with actual pitch detection using the YIN algorithm. Stores analyser and pitch detection function as instance properties for reuse and reliability.it was hardcoded to 440hz . it works now.

Replaces the placeholder in getTunerFrequency with actual pitch detection using the YIN algorithm. Stores analyser and pitch detection function as instance properties for reuse and reliability.
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@7se7en72025
Copy link
Contributor Author

note:
So, I finally made getTunerFrequency() actually do its job. It’s not just sitting there in lazymode returning 440hz anymore. I’ve wired up the yin algorithm in the backend, so its actually tracking the live mic frequency now.

I didn't bother changing any of the UI, so it’ll look the same, but the logic is actually there.

@7se7en72025
Copy link
Contributor Author

@walterbender any ideas why my PR's get lint issues even i run prttier ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant